package com.sunwayhorizo.health.hl7.vocabulary;

import com.sunwayhorizo.health.hl7.common.VersionInfo;
import com.sunwayhorizo.health.hl7.datatypes.CS;
import com.sunwayhorizo.health.hl7.datatypes.common.InternalFactory;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public class EntityAddrPartType {
  public static final String RCS_ID = "$Header: RoleStatus.java 1.0 2011/05/22 06:32:53 mmoores noship $";
  public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: RoleStatus.java 1.0 2011/05/22 06:32:53 mmoores noship $", "com.sunwayhorizo.health.hl7.vocabulary");
  /**
   * 楼号。
   */
  public static CS BUILDING_NUMBER;
  /**
   * 单元。
   */  
  public static CS UNIT;
  /**
   * 路。
   */  
  public static CS STREET_NAME;
  /**
   * 区。
   */
  public static CS DISTRIC;
  /**
   * 城市。
   */
  public static CS CITY;
  /**
   * 省。
   */
  public static CS PROVINCE;
  /**
   * 国家。
   */
  public static CS COUNTRY;
  /**
   * 邮编。
   */
  public static CS ZIPCODE;
  
  /**
   * 家庭地址
   */
  public static CS HOMEADDRS;
  
  /**
   * 单位地址
   */
  public static CS ORGADDRS;

  private static final CS values[];
  public static final Set ALL_VALUES;

  public EntityAddrPartType()
  {
  }

  static 
  {
      BUILDING_NUMBER = InternalFactory.newCS("楼号");
      UNIT = InternalFactory.newCS("单元");
      STREET_NAME = InternalFactory.newCS("路");
      DISTRIC = InternalFactory.newCS("区");
      CITY = InternalFactory.newCS("城市");      
      PROVINCE = InternalFactory.newCS("省");
      COUNTRY = InternalFactory.newCS("国家");
      ZIPCODE = InternalFactory.newCS("邮编");
      HOMEADDRS = InternalFactory.newCS("家庭地址");
      ORGADDRS = InternalFactory.newCS("单位地址");
      
      
      values = (new CS[] {
          BUILDING_NUMBER, UNIT, STREET_NAME, DISTRIC, CITY, PROVINCE,COUNTRY,ZIPCODE,HOMEADDRS,ORGADDRS
      });
      ALL_VALUES = new HashSet(Arrays.asList(values));
  }
  }
